package lab02.test07;

/**
 * Created by lady on 2017/10/18.
 */
public class Test {
    public static void main(String[] args) {
        //测试person类
        Person A=new Person();
        A.name="Sunhanqi";
        A.age=20;
        A.idcard="123456789";
        System.out.println(A.getString());

      //测试Student类
        Student B=new Student();
        B.name="Sunhanqi";
        B.age=20;
        B.idcard="123456789";
        B.sno="1606101113";
        B.university="SiChuan Tour University";
        System.out.println(B.getString());

    }
}
